# -- coding: utf-8 -- 
# Name: app

from flask_script import Manager
from app import app

manager = Manager(app)


@manager.option('-n', '--name', dest='name', help='your name', default='world')
@manager.option('-u', '--url', dest='url', default='www.qq.com')
def hello(name, url):
    'hello world or hello <setting name>'
    print('hello', name)
    print(url)


if __name__ == '__main__':
    manager.run()